class RenameUsersTypeToKind < ActiveRecord::Migration
  def self.up
    rename_column :users, :type, :kind
    change_column :users, :kind, :string, :default => 'Member'
  end

  def self.down
    rename_column :users, :kind, :type
    change_column :users, :type, :string, :default => 'User'
  end
end
